package com.sali.utils.limiter;

import com.google.common.util.concurrent.RateLimiter;

/**
 * @description: 限流算法
 * @author: zhang hang
 * @date: 2022/7/19 11:25.
 * @version: 1.0
 */
public interface ILimiterAlgorithm {

    /**
    * description: 限流算法
    * @param rateLimiter 谷歌开源令牌桶限流算法类
    * @return:
    * @author: zhang hang
    * @date:
    **/
    boolean algorithmDetail(RateLimiter rateLimiter);

}
